<?php
namespace app\admin\validate;

use think\Validate;

class Goods extends Validate
{
    protected $rule = [
        'fid'             =>  'require',
//        'specifications'  =>  'require',
//        'price'           =>  'require',
    ];

    protected $message = [
        'fid.require'            => '选择所属分类',
//        'specifications.require' => '请输入规格',
//        'price.require'          => '请输入价格',
    ];
}